<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>create (MywikiUserTest)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File test/unit/mywiki_user_test.rb, line 41</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span> <span class="ruby-identifier">read_priv_user</span>
        <span class="ruby-identifier">user</span> = <span class="ruby-constant">MywikiUser</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mywiki_users</span>(<span class="ruby-identifier">:four</span>).<span class="ruby-identifier">id</span>,
                                                        <span class="ruby-identifier">:user</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mywiki_users</span>(<span class="ruby-identifier">:four</span>).<span class="ruby-identifier">user</span>,
                                                        
                                                        <span class="ruby-identifier">:c_priv</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mywiki_users</span>(<span class="ruby-identifier">:four</span>).<span class="ruby-identifier">c_priv</span>,
                                                        <span class="ruby-identifier">:e_priv</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mywiki_users</span>(<span class="ruby-identifier">:four</span>).<span class="ruby-identifier">e_priv</span>,
                                                        <span class="ruby-identifier">:d_priv</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mywiki_users</span>(<span class="ruby-identifier">:four</span>).<span class="ruby-identifier">d_priv</span>,
                                                        <span class="ruby-identifier">:r_priv</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">mywiki_users</span>(<span class="ruby-identifier">:four</span>).<span class="ruby-identifier">r_priv</span>
        <span class="ruby-identifier">assert</span> <span class="ruby-identifier">user</span>.<span class="ruby-identifier">save</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>